package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 协同办公文档表
 * @TableName cus_oa_document
 */
@TableName(value ="cus_oa_document")
@Data
public class CusOaDocument implements Serializable {
    /**
     * OA文档表ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 业务数据id
     */
    private Integer dataId;

    /**
     * 文档存储记录id
     */
    private Integer documentId;

    /**
     * 业务类型 1-新闻公告附件 2-待扩展完善注释
     */
    private Integer type;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}